
<div class="col-sm-12 mt20" ng-keyup="myKeyup($event)">
<div class="panel panel-default">
<div class="panel-body">
<div class="col-sm-12">

    <div class="row ">
        <div class="col-sm-2">
            <input type="text" class="form-control"  ng-model="id" placeholder="订单编号"> 
        </div>
          <div class="col-sm-2">
            <input type="text" class="form-control" ng-model="supplier_product_name" placeholder="供应商产品名称"> 
        </div>
        <div class="col-sm-2">
           <ui-select ng-model="a.pay_state" theme="bootstrap" >
                <ui-select-match placeholder="支付状态">
                    {{$select.selected.name}}
                </ui-select-match>
                <ui-select-choices repeat="item.value as item in zhuangtai | filter: $select.search">
                    <span ng-bind-html="item.name | highlight: $select.search"></span>
                </ui-select-choices>
            </ui-select>
        </div>
      
        <div class="col-sm-2">
           
        </div>
      
      
         <div class="col-sm-2">
            
        </div>
        <div class="col-sm-2">
           <button class="btn btn-block btn-info" ng-click="search()">搜索</button>  
        </div>
     </div>
        
         
    

   

</div>
</div>
</div>
<!-- searchArea -->

<div class="panel panel-default">
    <div class="panel-body">
        <table class="table table-condensed table-hover table-bordered">
            <thead>
                <tr>
     
                   <th style="width: 16%;text-align:center;">订单名称/订单编号</th>
                    <th style="width: 16%;text-align:center;vertical-align: middle;">供应商产品名称</th>
                    <th style="width: 12%;text-align:center;">成人/儿童结算价</th>
                    <th style="width: 9%;text-align:center;">支付时间</th>
                    <th style="width: 9%;text-align:center;">订单状态</th>
                    <th style="width: 9%;text-align:center;">支付状态</th>
                    <th style="width: 9%;text-align:center;">退款原因</th>                   
                    <th style="width: 8%;text-align:center;">操作</th>

                  
                   

                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="info in a">
                    <td  style="width: 15% ;text-align:center;"><div>{{info.order_name}}</div><div>{{info.order_code}}</div></td>
                    <td  style="width: 15% ;text-align:center;vertical-align: middle;">{{info.supplier_product_name}}</td>
                    <td  style="width: 7%;text-align:center;overflow-x:hidden;overflow-y:hidden;"><div>{{info.adult_call_price_name}}</div><div>{{info.children_call_price_name}}</div></td>
                    <td  style="width: 9%;text-align:center;overflow-x:hidden;overflow-y:hidden;vertical-align: middle;">{{info.pay_time}}</td>
                    <td  style="width: 7% ;text-align:center;vertical-align: middle;">{{info.order_state_name}}</td>
                    <td  style="width: 16%;text-align:center;overflow-x:hidden;overflow-y:hidden;vertical-align: middle;"><div class="ellipsis" style="max-width:100%;display:block;overflow: hidden;white-space: nowrap;-o-text-overflow: ellipsis;text-overflow: ellipsis" title="{{info.back_remarks}}">{{info.pay_state_name}}</div></td>
                    <td  style="width: 9%;text-align:center;overflow-x:hidden;overflow-y:hidden;vertical-align: middle;" title="{{info.back_remarks}}">{{info.back_remarks}}</td>                    
                    <td  style="width: 8%;text-align:center;overflow-x:hidden;overflow-y:hidden;vertical-align:middle;">
                        <!--<div onmouseover="this.style.color='grey'" onmouseout="this.style.color='blue'" ng-click="toinfo($index)" class="pull-left" style="color: blue;cursor:pointer;text-align:center;width: 100%">确认退款</div>-->
                        <div class="pull-left" style = "padding-right:5px;width : 100%">
                                <button type="button" class="btn btn-info btn-xs" ng-click="toinfo2($index)">详情</button>
                        </div>
                       
                        
                        </td>
                </tr>
            </tbody>
        </table>
        <div class="text-right">
          <pagination 
        total-items="totalItems" 
        ng-model="currentPage" 

        ng-change="pageChanged()"
        previous-text="上一页"
        next-text="下一页"
        first-text="首页"
        last-text="尾页"
        max-size="5"
        boundary-links="true"
        rotate="false"

        items-per-page="itemsPerPage"
        class="m-t-none m-b"></pagination>

        </div>
    </div>
</div>

</div>
